package com.huangdemo.dao.second;

import com.huangdemo.model.Lesson;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface LessonMapper {
	@Select("SELECT * FROM lesson WHERE id=#{id}")
	List<Lesson> findById(Integer id);
}
